var express = require('express');
var router = express.Router();
let { getInfos,getIdInfo,getTypeInfo } = require("../controlers/infosControler")
/* GET users listing. */
router.get('/',getInfos);
router.get('/:_id',getIdInfo);
router.post('/typeinfos',getTypeInfo);
module.exports = router;